package com.event.multicaster;

import com.event.event.WeatherEvent;
import com.event.listener.WeatherListener;

/**
 * 创建事件广播器接口和天气事件广播实现类
 */
public interface EventMulticaster {
    void multicastEvent(WeatherEvent event);
    void addListener(WeatherListener listener);
    void removeListener(WeatherListener listener);
}
